#!/bin/bash
UPstat=`/home/matlablic/flexlm/etc/lmstat|grep "license server UP"|awk '{print $1}'`
if [ "x$UPstat" != x ]
then
	echo "license server UP"
	exit 0
else
	echo "mirror mtlab license server not UP"
	exit 2
fi
